/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tk.eigh.ksvg.component.shape;

import tk.eigh.ksvg.component.painting._FillProperties;
import ksvg.core.SVGShape;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;

/**
 *
 * @author nt
 */
@JSFComponent(name = "svg:Path",
type = "tk.eigh.svg.Path",
family = "shape.Path",
clazz = "ksvg.shape.Path",
tagClass = "ksvg.shape.tags.PathTag",
defaultRendererType = "SVGPathRenderer",
desc="Paths represent the outline of a shape which can be filled, stroked, used as a clipping path, or any combination of the three.")
public abstract class AbstractPath extends SVGShape implements _FillProperties{
    /**
     * a set of commands which define the path
     */
    @JSFProperty(required=true)
    public abstract String getD();
    
    /**
     * If present, the path will be scaled so that the computed path length of the points equals this value
     */
    @JSFProperty
    public abstract String getPathLength();
 
}
